package com.erp.erp_entitys.Company;

import java.util.ArrayList;
import java.util.List;

public class CompanyEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CompanyEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("code is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("code is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("code =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("code <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("code >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("code >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("code <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("code <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("code like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("code not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("code in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("code not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("code between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("code not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(String value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(String value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(String value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(String value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(String value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(String value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLike(String value) {
            addCriterion("pid like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotLike(String value) {
            addCriterion("pid not like", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<String> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<String> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(String value1, String value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(String value1, String value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNull() {
            addCriterion("EnglishName is null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIsNotNull() {
            addCriterion("EnglishName is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishnameEqualTo(String value) {
            addCriterion("EnglishName =", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotEqualTo(String value) {
            addCriterion("EnglishName <>", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThan(String value) {
            addCriterion("EnglishName >", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameGreaterThanOrEqualTo(String value) {
            addCriterion("EnglishName >=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThan(String value) {
            addCriterion("EnglishName <", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLessThanOrEqualTo(String value) {
            addCriterion("EnglishName <=", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameLike(String value) {
            addCriterion("EnglishName like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotLike(String value) {
            addCriterion("EnglishName not like", value, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameIn(List<String> values) {
            addCriterion("EnglishName in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotIn(List<String> values) {
            addCriterion("EnglishName not in", values, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameBetween(String value1, String value2) {
            addCriterion("EnglishName between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andEnglishnameNotBetween(String value1, String value2) {
            addCriterion("EnglishName not between", value1, value2, "englishname");
            return (Criteria) this;
        }

        public Criteria andAbbreviationIsNull() {
            addCriterion("abbreviation is null");
            return (Criteria) this;
        }

        public Criteria andAbbreviationIsNotNull() {
            addCriterion("abbreviation is not null");
            return (Criteria) this;
        }

        public Criteria andAbbreviationEqualTo(String value) {
            addCriterion("abbreviation =", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationNotEqualTo(String value) {
            addCriterion("abbreviation <>", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationGreaterThan(String value) {
            addCriterion("abbreviation >", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationGreaterThanOrEqualTo(String value) {
            addCriterion("abbreviation >=", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationLessThan(String value) {
            addCriterion("abbreviation <", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationLessThanOrEqualTo(String value) {
            addCriterion("abbreviation <=", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationLike(String value) {
            addCriterion("abbreviation like", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationNotLike(String value) {
            addCriterion("abbreviation not like", value, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationIn(List<String> values) {
            addCriterion("abbreviation in", values, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationNotIn(List<String> values) {
            addCriterion("abbreviation not in", values, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationBetween(String value1, String value2) {
            addCriterion("abbreviation between", value1, value2, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAbbreviationNotBetween(String value1, String value2) {
            addCriterion("abbreviation not between", value1, value2, "abbreviation");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIsNull() {
            addCriterion("EnglishAddress is null");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIsNotNull() {
            addCriterion("EnglishAddress is not null");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressEqualTo(String value) {
            addCriterion("EnglishAddress =", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotEqualTo(String value) {
            addCriterion("EnglishAddress <>", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressGreaterThan(String value) {
            addCriterion("EnglishAddress >", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressGreaterThanOrEqualTo(String value) {
            addCriterion("EnglishAddress >=", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLessThan(String value) {
            addCriterion("EnglishAddress <", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLessThanOrEqualTo(String value) {
            addCriterion("EnglishAddress <=", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressLike(String value) {
            addCriterion("EnglishAddress like", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotLike(String value) {
            addCriterion("EnglishAddress not like", value, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressIn(List<String> values) {
            addCriterion("EnglishAddress in", values, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotIn(List<String> values) {
            addCriterion("EnglishAddress not in", values, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressBetween(String value1, String value2) {
            addCriterion("EnglishAddress between", value1, value2, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andEnglishaddressNotBetween(String value1, String value2) {
            addCriterion("EnglishAddress not between", value1, value2, "englishaddress");
            return (Criteria) this;
        }

        public Criteria andPostalcodeIsNull() {
            addCriterion("PostalCode is null");
            return (Criteria) this;
        }

        public Criteria andPostalcodeIsNotNull() {
            addCriterion("PostalCode is not null");
            return (Criteria) this;
        }

        public Criteria andPostalcodeEqualTo(String value) {
            addCriterion("PostalCode =", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeNotEqualTo(String value) {
            addCriterion("PostalCode <>", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeGreaterThan(String value) {
            addCriterion("PostalCode >", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeGreaterThanOrEqualTo(String value) {
            addCriterion("PostalCode >=", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeLessThan(String value) {
            addCriterion("PostalCode <", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeLessThanOrEqualTo(String value) {
            addCriterion("PostalCode <=", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeLike(String value) {
            addCriterion("PostalCode like", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeNotLike(String value) {
            addCriterion("PostalCode not like", value, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeIn(List<String> values) {
            addCriterion("PostalCode in", values, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeNotIn(List<String> values) {
            addCriterion("PostalCode not in", values, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeBetween(String value1, String value2) {
            addCriterion("PostalCode between", value1, value2, "postalcode");
            return (Criteria) this;
        }

        public Criteria andPostalcodeNotBetween(String value1, String value2) {
            addCriterion("PostalCode not between", value1, value2, "postalcode");
            return (Criteria) this;
        }

        public Criteria andCustomsnoIsNull() {
            addCriterion("customsNo is null");
            return (Criteria) this;
        }

        public Criteria andCustomsnoIsNotNull() {
            addCriterion("customsNo is not null");
            return (Criteria) this;
        }

        public Criteria andCustomsnoEqualTo(String value) {
            addCriterion("customsNo =", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoNotEqualTo(String value) {
            addCriterion("customsNo <>", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoGreaterThan(String value) {
            addCriterion("customsNo >", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoGreaterThanOrEqualTo(String value) {
            addCriterion("customsNo >=", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoLessThan(String value) {
            addCriterion("customsNo <", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoLessThanOrEqualTo(String value) {
            addCriterion("customsNo <=", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoLike(String value) {
            addCriterion("customsNo like", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoNotLike(String value) {
            addCriterion("customsNo not like", value, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoIn(List<String> values) {
            addCriterion("customsNo in", values, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoNotIn(List<String> values) {
            addCriterion("customsNo not in", values, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoBetween(String value1, String value2) {
            addCriterion("customsNo between", value1, value2, "customsno");
            return (Criteria) this;
        }

        public Criteria andCustomsnoNotBetween(String value1, String value2) {
            addCriterion("customsNo not between", value1, value2, "customsno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoIsNull() {
            addCriterion("TaxRegistrationNo is null");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoIsNotNull() {
            addCriterion("TaxRegistrationNo is not null");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoEqualTo(String value) {
            addCriterion("TaxRegistrationNo =", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoNotEqualTo(String value) {
            addCriterion("TaxRegistrationNo <>", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoGreaterThan(String value) {
            addCriterion("TaxRegistrationNo >", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoGreaterThanOrEqualTo(String value) {
            addCriterion("TaxRegistrationNo >=", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoLessThan(String value) {
            addCriterion("TaxRegistrationNo <", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoLessThanOrEqualTo(String value) {
            addCriterion("TaxRegistrationNo <=", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoLike(String value) {
            addCriterion("TaxRegistrationNo like", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoNotLike(String value) {
            addCriterion("TaxRegistrationNo not like", value, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoIn(List<String> values) {
            addCriterion("TaxRegistrationNo in", values, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoNotIn(List<String> values) {
            addCriterion("TaxRegistrationNo not in", values, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoBetween(String value1, String value2) {
            addCriterion("TaxRegistrationNo between", value1, value2, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andTaxregistrationnoNotBetween(String value1, String value2) {
            addCriterion("TaxRegistrationNo not between", value1, value2, "taxregistrationno");
            return (Criteria) this;
        }

        public Criteria andFormanoIsNull() {
            addCriterion("FormANo is null");
            return (Criteria) this;
        }

        public Criteria andFormanoIsNotNull() {
            addCriterion("FormANo is not null");
            return (Criteria) this;
        }

        public Criteria andFormanoEqualTo(String value) {
            addCriterion("FormANo =", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoNotEqualTo(String value) {
            addCriterion("FormANo <>", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoGreaterThan(String value) {
            addCriterion("FormANo >", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoGreaterThanOrEqualTo(String value) {
            addCriterion("FormANo >=", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoLessThan(String value) {
            addCriterion("FormANo <", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoLessThanOrEqualTo(String value) {
            addCriterion("FormANo <=", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoLike(String value) {
            addCriterion("FormANo like", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoNotLike(String value) {
            addCriterion("FormANo not like", value, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoIn(List<String> values) {
            addCriterion("FormANo in", values, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoNotIn(List<String> values) {
            addCriterion("FormANo not in", values, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoBetween(String value1, String value2) {
            addCriterion("FormANo between", value1, value2, "formano");
            return (Criteria) this;
        }

        public Criteria andFormanoNotBetween(String value1, String value2) {
            addCriterion("FormANo not between", value1, value2, "formano");
            return (Criteria) this;
        }

        public Criteria andCornoIsNull() {
            addCriterion("CORNo is null");
            return (Criteria) this;
        }

        public Criteria andCornoIsNotNull() {
            addCriterion("CORNo is not null");
            return (Criteria) this;
        }

        public Criteria andCornoEqualTo(String value) {
            addCriterion("CORNo =", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoNotEqualTo(String value) {
            addCriterion("CORNo <>", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoGreaterThan(String value) {
            addCriterion("CORNo >", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoGreaterThanOrEqualTo(String value) {
            addCriterion("CORNo >=", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoLessThan(String value) {
            addCriterion("CORNo <", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoLessThanOrEqualTo(String value) {
            addCriterion("CORNo <=", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoLike(String value) {
            addCriterion("CORNo like", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoNotLike(String value) {
            addCriterion("CORNo not like", value, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoIn(List<String> values) {
            addCriterion("CORNo in", values, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoNotIn(List<String> values) {
            addCriterion("CORNo not in", values, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoBetween(String value1, String value2) {
            addCriterion("CORNo between", value1, value2, "corno");
            return (Criteria) this;
        }

        public Criteria andCornoNotBetween(String value1, String value2) {
            addCriterion("CORNo not between", value1, value2, "corno");
            return (Criteria) this;
        }

        public Criteria andLegalpersonIsNull() {
            addCriterion("legalPerson is null");
            return (Criteria) this;
        }

        public Criteria andLegalpersonIsNotNull() {
            addCriterion("legalPerson is not null");
            return (Criteria) this;
        }

        public Criteria andLegalpersonEqualTo(String value) {
            addCriterion("legalPerson =", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonNotEqualTo(String value) {
            addCriterion("legalPerson <>", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonGreaterThan(String value) {
            addCriterion("legalPerson >", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonGreaterThanOrEqualTo(String value) {
            addCriterion("legalPerson >=", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonLessThan(String value) {
            addCriterion("legalPerson <", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonLessThanOrEqualTo(String value) {
            addCriterion("legalPerson <=", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonLike(String value) {
            addCriterion("legalPerson like", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonNotLike(String value) {
            addCriterion("legalPerson not like", value, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonIn(List<String> values) {
            addCriterion("legalPerson in", values, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonNotIn(List<String> values) {
            addCriterion("legalPerson not in", values, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonBetween(String value1, String value2) {
            addCriterion("legalPerson between", value1, value2, "legalperson");
            return (Criteria) this;
        }

        public Criteria andLegalpersonNotBetween(String value1, String value2) {
            addCriterion("legalPerson not between", value1, value2, "legalperson");
            return (Criteria) this;
        }

        public Criteria andMailiaddressIsNull() {
            addCriterion("mailiAddress is null");
            return (Criteria) this;
        }

        public Criteria andMailiaddressIsNotNull() {
            addCriterion("mailiAddress is not null");
            return (Criteria) this;
        }

        public Criteria andMailiaddressEqualTo(String value) {
            addCriterion("mailiAddress =", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressNotEqualTo(String value) {
            addCriterion("mailiAddress <>", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressGreaterThan(String value) {
            addCriterion("mailiAddress >", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressGreaterThanOrEqualTo(String value) {
            addCriterion("mailiAddress >=", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressLessThan(String value) {
            addCriterion("mailiAddress <", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressLessThanOrEqualTo(String value) {
            addCriterion("mailiAddress <=", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressLike(String value) {
            addCriterion("mailiAddress like", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressNotLike(String value) {
            addCriterion("mailiAddress not like", value, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressIn(List<String> values) {
            addCriterion("mailiAddress in", values, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressNotIn(List<String> values) {
            addCriterion("mailiAddress not in", values, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressBetween(String value1, String value2) {
            addCriterion("mailiAddress between", value1, value2, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andMailiaddressNotBetween(String value1, String value2) {
            addCriterion("mailiAddress not between", value1, value2, "mailiaddress");
            return (Criteria) this;
        }

        public Criteria andTelIsNull() {
            addCriterion("TEL is null");
            return (Criteria) this;
        }

        public Criteria andTelIsNotNull() {
            addCriterion("TEL is not null");
            return (Criteria) this;
        }

        public Criteria andTelEqualTo(String value) {
            addCriterion("TEL =", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotEqualTo(String value) {
            addCriterion("TEL <>", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThan(String value) {
            addCriterion("TEL >", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("TEL >=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThan(String value) {
            addCriterion("TEL <", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThanOrEqualTo(String value) {
            addCriterion("TEL <=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLike(String value) {
            addCriterion("TEL like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotLike(String value) {
            addCriterion("TEL not like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelIn(List<String> values) {
            addCriterion("TEL in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotIn(List<String> values) {
            addCriterion("TEL not in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelBetween(String value1, String value2) {
            addCriterion("TEL between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotBetween(String value1, String value2) {
            addCriterion("TEL not between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andFaxIsNull() {
            addCriterion("fax is null");
            return (Criteria) this;
        }

        public Criteria andFaxIsNotNull() {
            addCriterion("fax is not null");
            return (Criteria) this;
        }

        public Criteria andFaxEqualTo(String value) {
            addCriterion("fax =", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotEqualTo(String value) {
            addCriterion("fax <>", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThan(String value) {
            addCriterion("fax >", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThanOrEqualTo(String value) {
            addCriterion("fax >=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThan(String value) {
            addCriterion("fax <", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThanOrEqualTo(String value) {
            addCriterion("fax <=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLike(String value) {
            addCriterion("fax like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotLike(String value) {
            addCriterion("fax not like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxIn(List<String> values) {
            addCriterion("fax in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotIn(List<String> values) {
            addCriterion("fax not in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxBetween(String value1, String value2) {
            addCriterion("fax between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotBetween(String value1, String value2) {
            addCriterion("fax not between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andHomepageIsNull() {
            addCriterion("homePage is null");
            return (Criteria) this;
        }

        public Criteria andHomepageIsNotNull() {
            addCriterion("homePage is not null");
            return (Criteria) this;
        }

        public Criteria andHomepageEqualTo(String value) {
            addCriterion("homePage =", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageNotEqualTo(String value) {
            addCriterion("homePage <>", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageGreaterThan(String value) {
            addCriterion("homePage >", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageGreaterThanOrEqualTo(String value) {
            addCriterion("homePage >=", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageLessThan(String value) {
            addCriterion("homePage <", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageLessThanOrEqualTo(String value) {
            addCriterion("homePage <=", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageLike(String value) {
            addCriterion("homePage like", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageNotLike(String value) {
            addCriterion("homePage not like", value, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageIn(List<String> values) {
            addCriterion("homePage in", values, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageNotIn(List<String> values) {
            addCriterion("homePage not in", values, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageBetween(String value1, String value2) {
            addCriterion("homePage between", value1, value2, "homepage");
            return (Criteria) this;
        }

        public Criteria andHomepageNotBetween(String value1, String value2) {
            addCriterion("homePage not between", value1, value2, "homepage");
            return (Criteria) this;
        }

        public Criteria andNewspaperswIsNull() {
            addCriterion("NewspaperSW is null");
            return (Criteria) this;
        }

        public Criteria andNewspaperswIsNotNull() {
            addCriterion("NewspaperSW is not null");
            return (Criteria) this;
        }

        public Criteria andNewspaperswEqualTo(String value) {
            addCriterion("NewspaperSW =", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswNotEqualTo(String value) {
            addCriterion("NewspaperSW <>", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswGreaterThan(String value) {
            addCriterion("NewspaperSW >", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswGreaterThanOrEqualTo(String value) {
            addCriterion("NewspaperSW >=", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswLessThan(String value) {
            addCriterion("NewspaperSW <", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswLessThanOrEqualTo(String value) {
            addCriterion("NewspaperSW <=", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswLike(String value) {
            addCriterion("NewspaperSW like", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswNotLike(String value) {
            addCriterion("NewspaperSW not like", value, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswIn(List<String> values) {
            addCriterion("NewspaperSW in", values, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswNotIn(List<String> values) {
            addCriterion("NewspaperSW not in", values, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswBetween(String value1, String value2) {
            addCriterion("NewspaperSW between", value1, value2, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNewspaperswNotBetween(String value1, String value2) {
            addCriterion("NewspaperSW not between", value1, value2, "newspapersw");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyIsNull() {
            addCriterion("NatureOfCompany is null");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyIsNotNull() {
            addCriterion("NatureOfCompany is not null");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyEqualTo(String value) {
            addCriterion("NatureOfCompany =", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyNotEqualTo(String value) {
            addCriterion("NatureOfCompany <>", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyGreaterThan(String value) {
            addCriterion("NatureOfCompany >", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyGreaterThanOrEqualTo(String value) {
            addCriterion("NatureOfCompany >=", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyLessThan(String value) {
            addCriterion("NatureOfCompany <", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyLessThanOrEqualTo(String value) {
            addCriterion("NatureOfCompany <=", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyLike(String value) {
            addCriterion("NatureOfCompany like", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyNotLike(String value) {
            addCriterion("NatureOfCompany not like", value, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyIn(List<String> values) {
            addCriterion("NatureOfCompany in", values, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyNotIn(List<String> values) {
            addCriterion("NatureOfCompany not in", values, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyBetween(String value1, String value2) {
            addCriterion("NatureOfCompany between", value1, value2, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andNatureofcompanyNotBetween(String value1, String value2) {
            addCriterion("NatureOfCompany not between", value1, value2, "natureofcompany");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeIsNull() {
            addCriterion("BusinessScope is null");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeIsNotNull() {
            addCriterion("BusinessScope is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeEqualTo(String value) {
            addCriterion("BusinessScope =", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeNotEqualTo(String value) {
            addCriterion("BusinessScope <>", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeGreaterThan(String value) {
            addCriterion("BusinessScope >", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeGreaterThanOrEqualTo(String value) {
            addCriterion("BusinessScope >=", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeLessThan(String value) {
            addCriterion("BusinessScope <", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeLessThanOrEqualTo(String value) {
            addCriterion("BusinessScope <=", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeLike(String value) {
            addCriterion("BusinessScope like", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeNotLike(String value) {
            addCriterion("BusinessScope not like", value, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeIn(List<String> values) {
            addCriterion("BusinessScope in", values, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeNotIn(List<String> values) {
            addCriterion("BusinessScope not in", values, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeBetween(String value1, String value2) {
            addCriterion("BusinessScope between", value1, value2, "businessscope");
            return (Criteria) this;
        }

        public Criteria andBusinessscopeNotBetween(String value1, String value2) {
            addCriterion("BusinessScope not between", value1, value2, "businessscope");
            return (Criteria) this;
        }

        public Criteria andChinalogoIsNull() {
            addCriterion("ChinaLogo is null");
            return (Criteria) this;
        }

        public Criteria andChinalogoIsNotNull() {
            addCriterion("ChinaLogo is not null");
            return (Criteria) this;
        }

        public Criteria andChinalogoEqualTo(String value) {
            addCriterion("ChinaLogo =", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoNotEqualTo(String value) {
            addCriterion("ChinaLogo <>", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoGreaterThan(String value) {
            addCriterion("ChinaLogo >", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoGreaterThanOrEqualTo(String value) {
            addCriterion("ChinaLogo >=", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoLessThan(String value) {
            addCriterion("ChinaLogo <", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoLessThanOrEqualTo(String value) {
            addCriterion("ChinaLogo <=", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoLike(String value) {
            addCriterion("ChinaLogo like", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoNotLike(String value) {
            addCriterion("ChinaLogo not like", value, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoIn(List<String> values) {
            addCriterion("ChinaLogo in", values, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoNotIn(List<String> values) {
            addCriterion("ChinaLogo not in", values, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoBetween(String value1, String value2) {
            addCriterion("ChinaLogo between", value1, value2, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andChinalogoNotBetween(String value1, String value2) {
            addCriterion("ChinaLogo not between", value1, value2, "chinalogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoIsNull() {
            addCriterion("EnginshLogo is null");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoIsNotNull() {
            addCriterion("EnginshLogo is not null");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoEqualTo(String value) {
            addCriterion("EnginshLogo =", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoNotEqualTo(String value) {
            addCriterion("EnginshLogo <>", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoGreaterThan(String value) {
            addCriterion("EnginshLogo >", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoGreaterThanOrEqualTo(String value) {
            addCriterion("EnginshLogo >=", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoLessThan(String value) {
            addCriterion("EnginshLogo <", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoLessThanOrEqualTo(String value) {
            addCriterion("EnginshLogo <=", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoLike(String value) {
            addCriterion("EnginshLogo like", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoNotLike(String value) {
            addCriterion("EnginshLogo not like", value, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoIn(List<String> values) {
            addCriterion("EnginshLogo in", values, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoNotIn(List<String> values) {
            addCriterion("EnginshLogo not in", values, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoBetween(String value1, String value2) {
            addCriterion("EnginshLogo between", value1, value2, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andEnginshlogoNotBetween(String value1, String value2) {
            addCriterion("EnginshLogo not between", value1, value2, "enginshlogo");
            return (Criteria) this;
        }

        public Criteria andIsproxyIsNull() {
            addCriterion("isProxy is null");
            return (Criteria) this;
        }

        public Criteria andIsproxyIsNotNull() {
            addCriterion("isProxy is not null");
            return (Criteria) this;
        }

        public Criteria andIsproxyEqualTo(Integer value) {
            addCriterion("isProxy =", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyNotEqualTo(Integer value) {
            addCriterion("isProxy <>", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyGreaterThan(Integer value) {
            addCriterion("isProxy >", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyGreaterThanOrEqualTo(Integer value) {
            addCriterion("isProxy >=", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyLessThan(Integer value) {
            addCriterion("isProxy <", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyLessThanOrEqualTo(Integer value) {
            addCriterion("isProxy <=", value, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyIn(List<Integer> values) {
            addCriterion("isProxy in", values, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyNotIn(List<Integer> values) {
            addCriterion("isProxy not in", values, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyBetween(Integer value1, Integer value2) {
            addCriterion("isProxy between", value1, value2, "isproxy");
            return (Criteria) this;
        }

        public Criteria andIsproxyNotBetween(Integer value1, Integer value2) {
            addCriterion("isProxy not between", value1, value2, "isproxy");
            return (Criteria) this;
        }

        public Criteria andPolicynoIsNull() {
            addCriterion("PolicyNo is null");
            return (Criteria) this;
        }

        public Criteria andPolicynoIsNotNull() {
            addCriterion("PolicyNo is not null");
            return (Criteria) this;
        }

        public Criteria andPolicynoEqualTo(String value) {
            addCriterion("PolicyNo =", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoNotEqualTo(String value) {
            addCriterion("PolicyNo <>", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoGreaterThan(String value) {
            addCriterion("PolicyNo >", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoGreaterThanOrEqualTo(String value) {
            addCriterion("PolicyNo >=", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoLessThan(String value) {
            addCriterion("PolicyNo <", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoLessThanOrEqualTo(String value) {
            addCriterion("PolicyNo <=", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoLike(String value) {
            addCriterion("PolicyNo like", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoNotLike(String value) {
            addCriterion("PolicyNo not like", value, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoIn(List<String> values) {
            addCriterion("PolicyNo in", values, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoNotIn(List<String> values) {
            addCriterion("PolicyNo not in", values, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoBetween(String value1, String value2) {
            addCriterion("PolicyNo between", value1, value2, "policyno");
            return (Criteria) this;
        }

        public Criteria andPolicynoNotBetween(String value1, String value2) {
            addCriterion("PolicyNo not between", value1, value2, "policyno");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentIsNull() {
            addCriterion("Top_Department is null");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentIsNotNull() {
            addCriterion("Top_Department is not null");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentEqualTo(Integer value) {
            addCriterion("Top_Department =", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentNotEqualTo(Integer value) {
            addCriterion("Top_Department <>", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentGreaterThan(Integer value) {
            addCriterion("Top_Department >", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("Top_Department >=", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentLessThan(Integer value) {
            addCriterion("Top_Department <", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentLessThanOrEqualTo(Integer value) {
            addCriterion("Top_Department <=", value, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentIn(List<Integer> values) {
            addCriterion("Top_Department in", values, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentNotIn(List<Integer> values) {
            addCriterion("Top_Department not in", values, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentBetween(Integer value1, Integer value2) {
            addCriterion("Top_Department between", value1, value2, "topDepartment");
            return (Criteria) this;
        }

        public Criteria andTopDepartmentNotBetween(Integer value1, Integer value2) {
            addCriterion("Top_Department not between", value1, value2, "topDepartment");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}